package com.anysoft.model;

import java.util.Date;

/**
 * 表[dbo].[DouyinApp]的实体类
 */
public class DouyinAppInfo {
    //<editor-fold desc="field">
    /**
     * 主键Id
     */
    private int id;

    /**
     * 应用唯一标识
     */
    private String clientKey;

    /**
     * 应用密钥
     */
    private String ClientSecret;

    /**
     * 应用名称
     */
    private String Name;

    private String accessToken;

    /**
     * access_token获得时间
     */
    private Date accessTokenTime;

    /**
     * access_token入刷新任务状态：0 - 未入任务；1 - 已入任务
     */
    private int accessTokenTaskState;

    /**
     * access_token加入刷新任务时间
     */
    private Date accessTokenJoinTaskTime;

    /**
     * access_token失效类别：1 - 自然到期；2 - 调用接口异常
     */
    private int accessTokenExpiresType;

    private int accessTokenErrCode;

    private String accessTokenErrMsg;

    private Date accessTokenErrTime;

    private String refreshToken;

    private Date refreshTokenTime;

    private int refreshTokenCount;

    private int refreshTokenTaskState;

    private Date refreshTokenJoinTaskTime;

    private int refreshTokenErrCode;

    private String refreshTokenErrMsg;

    private Date refreshTokenErrTime;

    private int refreshTokenStatus;

    private int status;

    private String creator;

    private Date addTime;

    private Date UpdateTime;

    private int userId;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 类型: * `EAccountM` - 普通企业号 * `EAccountS` - 认证企业号 * `EAccountK` - 品牌企业号
     */
    private String EAccountRole;

    private String OpenId;
    //</editor-fold>

    //<editor-fold desc="setter and getter">
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getClientKey() {
        return clientKey;
    }

    public void setClientKey(String clientKey) {
        this.clientKey = clientKey;
    }

    public String getClientSecret() {
        return ClientSecret;
    }

    public void setClientSecret(String clientSecret) {
        ClientSecret = clientSecret;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Date getAccessTokenTime() {
        return accessTokenTime;
    }

    public void setAccessTokenTime(Date accessTokenTime) {
        this.accessTokenTime = accessTokenTime;
    }

    public int getAccessTokenTaskState() {
        return accessTokenTaskState;
    }

    public void setAccessTokenTaskState(int accessTokenTaskState) {
        this.accessTokenTaskState = accessTokenTaskState;
    }

    public Date getAccessTokenJoinTaskTime() {
        return accessTokenJoinTaskTime;
    }

    public void setAccessTokenJoinTaskTime(Date accessTokenJoinTaskTime) {
        this.accessTokenJoinTaskTime = accessTokenJoinTaskTime;
    }

    public int getAccessTokenExpiresType() {
        return accessTokenExpiresType;
    }

    public void setAccessTokenExpiresType(int accessTokenExpiresType) {
        this.accessTokenExpiresType = accessTokenExpiresType;
    }

    public int getAccessTokenErrCode() {
        return accessTokenErrCode;
    }

    public void setAccessTokenErrCode(int accessTokenErrCode) {
        this.accessTokenErrCode = accessTokenErrCode;
    }

    public String getAccessTokenErrMsg() {
        return accessTokenErrMsg;
    }

    public void setAccessTokenErrMsg(String accessTokenErrMsg) {
        this.accessTokenErrMsg = accessTokenErrMsg;
    }

    public Date getAccessTokenErrTime() {
        return accessTokenErrTime;
    }

    public void setAccessTokenErrTime(Date accessTokenErrTime) {
        this.accessTokenErrTime = accessTokenErrTime;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public Date getRefreshTokenTime() {
        return refreshTokenTime;
    }

    public void setRefreshTokenTime(Date refreshTokenTime) {
        this.refreshTokenTime = refreshTokenTime;
    }

    public int getRefreshTokenCount() {
        return refreshTokenCount;
    }

    public void setRefreshTokenCount(int refreshTokenCount) {
        this.refreshTokenCount = refreshTokenCount;
    }

    public int getRefreshTokenTaskState() {
        return refreshTokenTaskState;
    }

    public void setRefreshTokenTaskState(int refreshTokenTaskState) {
        this.refreshTokenTaskState = refreshTokenTaskState;
    }

    public Date getRefreshTokenJoinTaskTime() {
        return refreshTokenJoinTaskTime;
    }

    public void setRefreshTokenJoinTaskTime(Date refreshTokenJoinTaskTime) {
        this.refreshTokenJoinTaskTime = refreshTokenJoinTaskTime;
    }

    public int getRefreshTokenErrCode() {
        return refreshTokenErrCode;
    }

    public void setRefreshTokenErrCode(int refreshTokenErrCode) {
        this.refreshTokenErrCode = refreshTokenErrCode;
    }

    public String getRefreshTokenErrMsg() {
        return refreshTokenErrMsg;
    }

    public void setRefreshTokenErrMsg(String refreshTokenErrMsg) {
        this.refreshTokenErrMsg = refreshTokenErrMsg;
    }

    public Date getRefreshTokenErrTime() {
        return refreshTokenErrTime;
    }

    public void setRefreshTokenErrTime(Date refreshTokenErrTime) {
        this.refreshTokenErrTime = refreshTokenErrTime;
    }

    public int getRefreshTokenStatus() {
        return refreshTokenStatus;
    }

    public void setRefreshTokenStatus(int refreshTokenStatus) {
        this.refreshTokenStatus = refreshTokenStatus;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return UpdateTime;
    }

    public void setUpdateTime(Date updateTime) {
        UpdateTime = updateTime;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getEAccountRole() {
        return EAccountRole;
    }

    public void setEAccountRole(String EAccountRole) {
        this.EAccountRole = EAccountRole;
    }

    public String getOpenId() {
        return OpenId;
    }

    public void setOpenId(String openId) {
        OpenId = openId;
    }
    //</editor-fold>
}
